package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 任务状态确认表
 * </p>
 *
 * @author jiangge
 * @since 2020-09-10
 */
@Data
@TableName("gcg_task_status")
public class TaskStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 工程id
     */
    @TableField("pro_id")
    private Integer proId;

    /**
     * 任务ID
     */
    @TableField("task_id")
    private Integer taskId;

    /**
     * 状态1提交/确认/通过；0未确认/驳回
     */
    @TableField("status")
    private Integer status;

    /**
     * 任务对应的值
     */
    @TableField("content")
    private String content;

    /**
     * 任务名称
     */
    @TableField("task_name")
    private String taskName;
    /**
     *操作人id
     */
    @TableField("create_id")
    private Long createId;
    /**
     *操作人
     */
    @TableField("create_name")
    private String createName;

    /**
     * 任务名称
     */
    @TableField(exist = false)
    private String name;

    /**
     *备注
     */
    @TableField("note")
    private String note;

    @TableField(exist = false)
    private String proName;

    @TableField(exist = false)
    private String account;

    public TaskStatus() {
    }

    public TaskStatus(Integer proId, Integer taskId, Integer status, String content, String taskName) {
        this.proId = proId;
        this.taskId = taskId;
        this.status = status;
        this.content = content;
        this.taskName = taskName;
    }
}
